package com.cungmua.app.model.response;

import com.cungmua.app.model.OrderInfo;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by kelvin.nguyen on 6/25/14.
 */
public class PlaceOrderResponse extends CungMuaResponse {
    private OrderInfo data;

    public PlaceOrderResponse(@JsonProperty("Msg") String message, @JsonProperty("Code") int code) {
        super(message, code);
    }

    @JsonProperty("Data")
    public void setData(OrderInfo data) {
        this.data = data;
    }

    @Override
    public OrderInfo getData() {
        return data;
    }
}
